# 输入1,"b"验证
x, y = eval(input("请输入两个数字："))
try:
    z = x + y
    print("x = {0},y = {1}".format(x, y))
    print("x+y={0}".format(z))
except TypeError as te:
    print("数据类型错误！{0}".format(te))
    print("字符串不能够与数值相加！")
else:
    print("程序执行正常！")
finally:
    print("程序结束！")
